<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>



<div class="estiloDiv">

	<sj:tabbedpanel id="localtabs">
		<sj:tab id="tab1" target="tone" key="global.tab.cuenta" />
		<sj:tab id="tab2" target="ttwo" key="global.tab.cambiarClave" />
		<div id="tone">
			<s:form action="usuarioModificaDatos" id="miFormLog">
				<p style="font-family: Verdana, Helvetica; font-weight: bold;">
					<s:property value="getText('global.tab.tituloTab1')" />
				</p>
				<s:actionerror />
				<s:textfield name="name" key="global.form.ingreseUser"
					value="%{#session.usuario.name} " required="true" maxlength="20" />
				<s:textfield name="nombre" key="global.form.ingreseNombre"
					required="true" maxlength="20" value="%{#session.usuario.nombre} "/>
				<s:textfield name="apellido" key="global.form.ingreseApellido"
					required="true" maxlength="20" value="%{#session.usuario.apellido} "/>
				<s:textfield name="telefono" key="global.form.Telefono"
					value="%{#session.usuario.telefono} " maxlength="10" />
				<s:textfield name="email" key="global.form.Email"
					value="%{#session.usuario.email} " maxlength="20" />
				<s:submit key="global.form.guardar" />

			</s:form>
		</div>
		<div id="ttwo">
			<s:form action="usuarioCambiaClave" id="miFormLog">
				<p style="font-family: Verdana, Helvetica; font-weight: bold;">
					<s:property value="getText('global.tab.cambiarClave')" />
				</p>
				<s:actionerror />
				<s:hidden name="id" value="%{#session.usuario.id}" />
				<s:password name="claveActual" key="global.tab.claveActual"
					required="true" maxlength="10" />
				<s:password name="claveNueva" key="global.tab.claveNueva"
					required="true" maxlength="10" />
				<s:password name="claveConfirmacion"
					key="global.form.ingreseClaveConfirmacion" required="true"
					maxlength="10" />
				<s:submit key="global.tab.aceptar" />

			</s:form>
		</div>
	</sj:tabbedpanel>
</div>

